this._reNotifyAfterHideNotification = null;
this._inFullscreen = false;
this._desktopClone = null;
- this._inCtrlAltTab = false;
this._lightbox = new Lightbox.Lightbox(global.window_group,
{ inhibitEvents: true,
this._trayDwellTimeoutId = 0;
this._trayDwelling = false;
this._trayDwellUserTime = 0;
+
+ Main.ctrlAltTabManager.addGroup(this._summary, _("Message Tray"), 'start-here-symbolic',
+ { focusCallback: Lang.bind(this, this.toggleAndNavigate),
+ sortGroup: CtrlAltTab.SortGroup.BOTTOM });
},
_checkTrayDwell: function(x, y) {
});
if (this._overviewVisible) {
- Main.ctrlAltTabManager.addGroup(this._summary, _("Message Tray"), 'start-here-symbolic',
- { sortGroup: CtrlAltTab.SortGroup.BOTTOM });
- this._inCtrlAltTab = true;
- } else {
this._lightbox.show();
}
},
// which would happen if GrabHelper ungrabbed for us.
// This is a no-op in that case.
this._grabHelper.ungrab({ actor: this.actor });
-
- if (this._inCtrlAltTab) {
- Main.ctrlAltTabManager.removeGroup(this._summary);
- this._inCtrlAltTab = false;
- } else {
- this._lightbox.hide();
- }
+ this._lightbox.hide();
},
_hideDesktopClone: function(now) {